/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package evotingclient.data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;

/**
 *
 * @author Pawel
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Candidate {
    private String name;
    private int id;
    
    public Candidate() {
        
    }
    
    public Candidate(int id, String name) {
        this.name = name;
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
